﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ET.DBCommon.Model
{
    /// <summary>
    /// 任务
    /// </summary>
    public class PaperTestQuestionTaskModel
    {
        public PaperTestQuestionTaskModel()
        {
            this.TestQuestionTaskSteps = new List<PaperTestQuestionTaskStepModel>();
        }
        /// <summary>
        /// 编号
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 所属场景
        /// </summary>
        public int TestId { get; set; }
        /// <summary>
        /// 序号
        /// </summary>
        public int Order { get; set; }
        /// <summary>
        /// 任务描述
        /// </summary>
        public string Describes { get; set; }
        /// <summary>
        /// 任务类型
        /// </summary>
        public string TaskType { get; set; }
        /// <summary>
        /// 延续时长
        /// </summary>
        public int TimeOut { get; set; }
        /// <summary>
        /// 互斥任务
        /// </summary>
        public int MutexTask { get; set; }

        /// <summary>
        /// 事后任务
        /// </summary>
        public int AfterTask { get; set; }

        /// <summary>
        /// 事后任务间隔（秒）
        /// </summary>
        public int AfterInterval { get; set; }

        /// <summary>
        /// 界面排序
        /// </summary>
        public int UIOrder { get; set; }
        /// <summary>
        /// 场景文件;保存的信号系统json文件
        /// </summary>
        public byte[] SceneFile { get; set; }
        /// <summary>
        /// 界面排序
        /// </summary>
        public bool IsMain { get; set; }
        /// <summary>
        /// 步骤列表
        /// </summary>
        public List<PaperTestQuestionTaskStepModel> TestQuestionTaskSteps { get; set; }

       
    }
}
